<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"      
xmlns:p="http://primefaces.org/ui">


	<head>
		<title>detail</title>
	</head>
		<f:view>
			<body>
			<h2>about files</h2>
				<h3>--test files</h3>
			<h:form>
		
				<h:dataTable value="#{filesBean.allFiles}" var="file" 
						styleClass="dt"
						headerClass="dt-head"
						rowClasses="dt-r1,dt-r2"
						cellpadding="8"
						border="1">
					<h:column>
						<f:facet name="header">
							<h:outputText value="序号" />
						</f:facet>   
     					<h:outputText value="#{file.pk}"/>
					</h:column>
					<h:column>
					<h:graphicImage url="/路径#{file.filepath}"/>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="路径" />
						</f:facet>  
						<h:outputText value="#{file.filepath}"/>
  					</h:column>
  					<h:column>
						<f:facet name="header">
							<h:outputText value="file_tsuid" />
						</f:facet>   
     					<h:outputText value="#{file.file_tsuid}"/>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="file_md5" />
						</f:facet> 
						<h:outputText value="#{file.file_md5}"/>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="file_size" />
						</f:facet>
						<h:outputText value="#{file.file_size}"/>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="file_status" />
						</f:facet>
						<h:outputText value="#{file.file_status}"/>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="创建日期" />
						</f:facet>
						<h:outputText value="#{file.created_time}"/>
					</h:column>
				
					
				</h:dataTable>
		
			</h:form>
		</body>
	</f:view> 
</html>